$baseColor:#ff841d;
// nav_header部分开始
.nav_header {
    height: 50px;
    background-color: $baseColor;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    h2 {
        color: #fff;
        margin: 0 auto;
    }
    >a {
        display: block;
    }
    >a:first-child {
        width: 20px;
        height: 42px;
        background-image: url("../images/icon_bar.png");
        background-position: -199px -18px;
        top: 0;
        position: absolute;
    }
    >a:last-child {
        width: 44px;
        height: 100%;
        margin-top: 6px;
    }
}

//nav_main部分开始
.nav_main {
    width: 300px;
    margin: 10px auto;
    >a {
        padding: 10px 8px;
        background-color: #f4f4f4;
        border: 1px solid #bfbfbf;
        float: left;
        margin: 0 0 6px 6px;
        // text-align: center;
        position: relative;
        >img {
            width: 18px;
            height: 18px;
            position: absolute;
            left: 0;
            margin-top: 2px;
            margin-left: 8px;
        }
        >p {
            font-size: 16px;
            // display: block;
            margin-left: 25px;
        }
    }
}

//nav_clode部分开始
.nav_clode {
    height: 10px;
    background-color: #ccc;
}

//nav_foot部分开始
.nav_foot {
    height: 40px;
    background-color: #ebebeb;
    line-height: 40px;
    padding-left: 10px;
    margin-bottom: 25px;
    >a {
        display: inline;
    }
}

//nav_footer部分开始
.nav_footer {
    height: 40px;
    background-color: #efefef;
    border-top: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    display: flex;
    >a {
        flex: 1;
        align-items: center;
        text-align: center;
        line-height: 40px;
        display: inline;
    }
    >a:last-child {
        padding-left: 20px;
        padding-right: 20px;
        >img {
            display: inline-block;
            width: 20px;
            height: 20px;
            padding-right: 4px;
            padding-top: 6px;
        }
    }
}

//nav_list部分开始
.nav_list {
    height: 80px;
    text-align: center;
    >p:first-child {
        padding-top: 20px;
        >a:first-child {
            color: red;
        }
    }
    >p {
        font-size: 12px;
        >a {
            display: inline;
        }
    }
}